package com.hmdp.constants;

public class RedisConstant {
    public static final String LOGIN_CODE_KEY = "login code:";

    public static final String LOGIN_TOKEN_KEY = "login token:";

    public static final String SHOP_CACHE = "cache:shop:";
    public static final String SHOP_TYPE_CACHE = "cache:shop_types:";

    public static final long CACHE_SHOP_TTL = 3000L;
    public static final long CACHE_NULL_TTL = 2L;
    public static final String LOCK_SHOP_KEY = "lock:shop:";

    public static final String SECKILL_STOCK = "seckill:stock:";

    public static final String BLOG_LIKED = "blog:liked:";

    public static final String FOLLOWS = "follows:";

    public static final String FEED_KEY = "feeds:";

    public static final String SHOP_GEO_KEY = "shop:geo:";
}
